<style>
    .layui-iconpicker-body.layui-iconpicker-body-page .hide {
        display: none;
    }
    .select_a {
        color: #009688;
        padding: 2px;
        margin: 2px;
        border: #009688 1px dashed;
    }
</style>
<link rel="stylesheet" href="__STATIC__/plugs/lay-module/autocomplete/autocomplete.css?v={$version}" media="all">
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        {foreach $config['formrow'] as $value}
        {if $value['type']=='none'}
            {include file="../app/admin/view/builder/form/template/none.html" /}
        {elseif($value['type']=='input')}
            {include file="../app/admin/view/builder/form/template/input.html" /}
        {elseif($value['type']=='textarea')}
            {include file="../app/admin/view/builder/form/template/textarea.html" /}
        {elseif($value['type']=='file')}
            {include file="../app/admin/view/builder/form/template/file.html" /}
        {elseif($value['type']=='files')}
            {include file="../app/admin/view/builder/form/template/files.html" /}
        {elseif($value['type']=='img')}
            {include file="../app/admin/view/builder/form/template/img.html" /}
        {elseif($value['type']=='imgs')}
            {include file="../app/admin/view/builder/form/template/imgs.html" /}
        {elseif($value['type']=='video')}
            {include file="../app/admin/view/builder/form/template/video.html" /}
        {elseif($value['type']=='radio')}
            {include file="../app/admin/view/builder/form/template/radio.html" /}
        {elseif($value['type']=='checkbox')}
            {include file="../app/admin/view/builder/form/template/checkbox.html" /}
        {elseif($value['type']=='select')}
            {include file="../app/admin/view/builder/form/template/select.html" /}
        {elseif($value['type']=='color')}
            {include file="../app/admin/view/builder/form/template/color.html" /}
        {elseif($value['type']=='editor')}
            {include file="../app/admin/view/builder/form/template/editor.html" /}
        {elseif($value['type']=='password')}
            {include file="../app/admin/view/builder/form/template/password.html" /}
        {elseif($value['type']=='switch')}
            {include file="../app/admin/view/builder/form/template/switch.html" /}
        {elseif($value['type']=='date')}
            {include file="../app/admin/view/builder/form/template/date.html" /}
        {elseif($value['type']=='datetime')}
            {include file="../app/admin/view/builder/form/template/datetime.html" /}
        {elseif($value['type']=='time')}
            {include file="../app/admin/view/builder/form/template/time.html" /}
        {elseif($value['type']=='jsonarray')}
            {include file="../app/admin/view/builder/form/template/jsonarray.html" /}
        {elseif($value['type']=='tree')}
            {include file="../app/admin/view/builder/form/template/tree.html" /}
        {elseif($value['type']=='selectgroup')}
        {include file="../app/admin/view/builder/form/template/selectgroup.html" /}
        {/if}
        {/foreach}

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            {if isset($config['button']['submit'])&&$config['button']['submit']}
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            {/if}
            {if isset($config['button']['reset'])&&$config['button']['reset']}
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
            {/if}
        </div>

    </form>
</div>
<script>
    var parameter = '{$parameter|raw|default=""}';
</script>